
const {createAction,configAction,templateAction} = require('./action')

const mycommander = function(program){
    program.command('create <project> [others...]')
    .alias('crt')
    .description('创建信息')
    .action(createAction)
    program.command('config <set|get> [others...]')
    .alias('cfg')
    .description('配置信息')
    .action(configAction)
    program.command('add <name> [others]')
    .alias('a')
    .description('下载模板')
    .action(templateAction)
}
module.exports = mycommander